Skip to content

feat(hana): destroy connections that have exceeded the max statement count#1506

Closed
sjvans wants to merge 2 commits into
mainfrom
max-statement-count
Closed

feat(hana): destroy connections that have exceeded the max statement count#1506
sjvans wants to merge 2 commits into
mainfrom
max-statement-count

Conversation

@sjvans

@sjvans sjvans commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

instead of dropping all prepared statements on commit/ rollback, we count the number of prepared statements per connection and destroy instead of release that connection in case it accumulated more than the max allowed number of statements over its lifetime.

Comment thread hana/lib/HANAService.js
Comment on lines +40 to +42

// TODO: remove
this.options._max_statement_count = 10

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// TODO: remove
this.options._max_statement_count = 10

@sjvans

sjvans commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

invalid. SAP/node-hdb#293 instead.

@sjvans sjvans closed this Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant